{include theme=com/head}

<section class="downloaddetail" bosscms="downloaddetail" group>
  <article>
    <h1>{group.name}</h1>
    <div class="top">
      <b>{config.group_time}</b>
      <i>{group.mtime|date='Y-m-d H:i:s',###}</i>
      <b>{config.group_notice}</b>
      <i><notice type="{group.type}" id="{group.id}">{group.notice}</notice></i>
      {if:(config.member_open)}
      <i class="fa fa-star{if:(!group.collect)}-o{/if}">
        <a collect="{group.type}_{group.id}" href="javascript:;">{config.group_collect}</a>
      </i>
      {/if}
    </div>
    <div class="sub">
      {foreach data=group.complex}
      {if:($v.value)}
      <dl>
        <dt><span>{$v.title}</span></dt>
        <dd><span>{$v.value}</span></dd>
      </dl>
      {/if}
      {/foreach}
      <dl>
        <dt><span>{config.download_size}</span></dt>
        <dd><span>{group.size|setFilesize}</span></dd>
      </dl>
      <a href="{group.file}" title="{group.name}" button="button" target="_blank">{group.down}</a>
      {if:(group.dfiles)}
      <ul>
        {foreach data=group.dfiles}
        <li><a href="{$v.file}" title="{$v.down}" target="_blank">{$v.down}</a></li>
        {/foreach}
      </ul>
      {/if}
    </div>
    <div class="content">
      <aside>{group.content}</aside>
      {if:(group.tag)}
      <div class="tag">
        {foreach data=group.tag}
        <a href="{$v.url}" title="{$v.title}">{$v.title}</a>
        {/foreach}
      </div>
      {/if}
      {both class=html id=group.id items=items.id}{/both}
      {comment class=html model=group.type gid=group.id}
      <div class="comment">{$html}</div>
      {/comment}
    </div>
  </article>
</section>

{include theme=com/foot}